﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windows.Navigation;
using System.Windows.Shapes;
using Microsoft.Surface.Presentation.Controls;
using SurfaceCardsBoardLibrary.Interfaces;

namespace SurfaceCardsGameKit
{
    /// <summary>
    /// Interaction logic for CircularMenuUC.xaml
    /// </summary>
    public partial class CircularMenuUC : ScatterViewItem, IManipulableObject
    {
        public CircularMenuUC()
        {
            InitializeComponent();
        }

        public SurfaceListBox ListBox
        {
            get
            {
                Viewbox a = this.Content as Viewbox;
                SurfaceListBox s = a.Child as SurfaceListBox;
                return s;
            }
        }

        #region IManipulableObject Members

        public new Point ActualCenter { get; set; }

        public Point LastCenterBeforeContactsUp { get; set; }

        public ScatterView ScatterView { get; set; }

        public new ScatterViewItem ScatterViewItem { get; set; }

        public SurfaceCardsBoardLibrary.Board Board { get; set; }

        public double DefaultWidth { get; set; }

        public double DefaultHeight { get; set; }

        #endregion
    }
}
